import { createApp } from 'vue';
import App from './App.vue';
import Icon from './components/icon/index.vue';
import router from './router';
import store from './store';
import '@/assets/styles/main.scss';
import * as ElementPlusIconsVue from '@element-plus/icons-vue';

const app = createApp(App);
app.component('Icon', Icon);
app.use(router);
app.use(store);
app.mount('#app');
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
